package com.we.flink.userlabelplatform.table;

public class TableIncrLimitRecord {
    public static final String KFKTABLE = "fdm.hhl01_incr_limit_record";
    public static final String QUERYSQL =
            "select uid, "
                    + "if(updated_at is null, 0, updated_at) updated_at "
                    + "from "
                    + KFKTABLE
                    + " where deleted_at is null and type = 10 and status = 'SUCCESS' ";
    public long uid;
    public int updated_at;

    public TableIncrLimitRecord() {}

    public TableIncrLimitRecord(long uid, int updated_at) {
        this.uid = uid;
        this.updated_at = updated_at;
    }

    public long getUid() {
        return uid;
    }

    public int getUpdated_at() {
        return updated_at;
    }

    @Override
    public String toString() {
        return "TableIncrLimitRecord{" + "uid=" + uid + ", updated_at=" + updated_at + '}';
    }
}
